package top.lyc829.zzl_android.logic.bean;

import com.google.gson.annotations.SerializedName;

/**
 * @Author lyc
 * @create 2021-02-01 13:59
 * 首页轮播图的实体类
 */
public class BannerBean {

    // 图片id
    @SerializedName(value = "id")
    private int id;
    // 图片url
    @SerializedName(value = "imgUrl")
    private String imgUrl;
    // 图片创建时间
    private String createdTime;
    // 图片类型
    private int type;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imageUrl) {
        this.imgUrl = imageUrl;
    }

    public String getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(String createdTime) {
        this.createdTime = createdTime;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "BannerBean{" +
                "id=" + id +
                ", imgUrl='" + imgUrl + '\'' +
                ", createdTime='" + createdTime + '\'' +
                ", type=" + type +
                '}';
    }
}
